﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewRequest.aspx.cs" Inherits="ProjectContract.NewRequest" %>

<%@ Register Src="../../Processes/ProcessControl/UserInfo_TY.ascx" TagName="UserInfo"
    TagPrefix="ui" %>
<%@ Register Src="../../Processes/ProcessControl/ApprovalHistory_TY.ascx" TagName="ApprovalHistory"
    TagPrefix="ah" %>
<%@ Register Src="../../Processes/ProcessControl/Attachments_TY.ascx" TagName="Attachments"
    TagPrefix="attach" %>
<%@ Register Src="../../Processes/ProcessControl/ButtonList_TY.ascx" TagName="ButtonList"
    TagPrefix="btn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>工程承建分包合同评审</title>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../js/My97DatePicker/WdatePicker.js"></script>
    <script language="javascript" type="text/javascript">
        //调用选择人员方法
        jQuery(document).ready(function () {
            jQuery("");
            $("#fld_RELATE").keydown(function (event) {
                return false;
            });

        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="container">
        <div class="row">
            <ui:userinfo id="UserInfo1" processprefix="PC" processtitle="工程承建分包合同评审" tablename="PROC_PROJECTCONTRACT"
                runat="server"></ui:userinfo>
        </div>
        <div class="row">
            <table class="table table-condensed table-bordered">
                <tr>
                    <td class="banner" colspan="4">
                        详细信息
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        合同名称：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="fld_TCONTRACTNAME" runat="server" CssClass="validate[required]"></asp:TextBox>
                    </td>
                    <td class="td-label">
                        对方名称：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="fld_TOPPOSITENAME" runat="server" CssClass=" validate[required]"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        合同总金额：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="fld_TTOTAL" money="money" runat="server" CssClass="validate[required]"></asp:TextBox>
                    </td>
                    <td class="td-label">
                        合同编号：
                    </td>
                    <td class="td-content">
                        <asp:Label ID="fld_TCONTRACTNO" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        合同类型：<span class="red">*</span>
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:Label ID="fld_TCONTRACTTYPE" runat="server" Text="服务业务分包合同"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td-label" style="vertical-align: middle;">
                        签约对方情况:
                    </td>
                    <td colspan="3">
                        <table class="  table-bordered" width="100%">
                            <tr>
                                <td width="15%" style="background-color: #f5f5f5;">
                                    法定代表人:<span class="red">*</span>
                                </td>
                                <td>
                                    <asp:TextBox runat="server" Width="85%" ID="fld_TLEGAL" CssClass="validate[required]"></asp:TextBox>
                                </td>
                                <%--
                                <td width="10%" style="background-color: #f5f5f5; display:none;" >
                                    代理人:<span class="red">*</span>
                                </td>
                                <td>
                                    <asp:TextBox runat="server" ID="fld_TAGENT" Width="80%"></asp:TextBox>
                                </td>
                                <td width="10%" style="background-color: #f5f5f5;">
                                    代表权限:
                                </td>
                                <td>
                                    <asp:TextBox runat="server" ID="fld_TLIMIT" Width="80%"></asp:TextBox>
                                </td> --%>
                            </tr>
                            <tr>
                                <td style="background-color: #f5f5f5;">
                                    注册资金:<span class="red">*</span>
                                </td>
                                <td colspan="1">
                                    <asp:TextBox runat="server" money="money" Width="85%" ID="fld_TCAPTITAL" CssClass="validate[required]"></asp:TextBox>
                                </td>
                                <%-- 
                                <td style="background-color: #f5f5f5;">
                                    资质:
                                </td>
                                <td>
                                    <asp:TextBox runat="server" Width="80%" ID="fld_TAPTITUDE"></asp:TextBox>
                                </td>
                                <td style="background-color: #f5f5f5;">
                                    信誉:
                                </td>
                                <td>
                                    <asp:TextBox runat="server" Width="80%" ID="fld_TREPUTATION"></asp:TextBox>
                                </td>--%>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr style="height: 120px;">
                    <td class="td-label" style="vertical-align: middle;">
                        合同主要内容：<span class="red">*</span>
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:TextBox ID="fld_TCONTRACTCONTENT" TextMode="MultiLine" Width="87%" Height="119px"
                            runat="server" CssClass="validate[required]"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        选择相关人员：
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:TextBox ID="fld_TRELATE" runat="server" AutoCompleteType="Disabled" Width="80%"></asp:TextBox>
                        <asp:TextBox runat="server" ID="var_RELATE" Style="display: none;"></asp:TextBox>
                        <%--                        <asp:Button ID="btnChoose" CssClass="btn" runat="server" Text="选择" OnClientClick="selectUser(1,'fld_TRELATE','var_RELATE')" />--%>
                        <input id="btnChoose" class="btn" type="button" value="选择" onclick="selectUser(2,'fld_TRELATE','var_RELATE')" />
                    </td>
                </tr>
            </table>
        </div>
        <div class="row">
            <attach:attachments id="Attachments1" runat="server" required="true"></attach:attachments>
        </div>
        <div class="row">
            <ah:approvalhistory id="ApprovalHistory1" showaction="false" runat="server"></ah:approvalhistory>
        </div>
        <div class="row">
        </div>
    </div>
    <btn:buttonlist id="ButtonList1" runat="server"></btn:buttonlist>
    <div style="display: none;">
    </div>
    </form>
</body>
</html>
